package com.yonyou.gmmc.service.wechatpush.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.yonyou.gmmc.service.wechatpush.annotation.OracleDb;
import com.yonyou.gmmc.service.wechatpush.model.TtMessage;

import tk.mybatis.mapper.common.Mapper;

@OracleDb
public interface TtMessageMapper extends Mapper<TtMessage> {

    public List<TtMessage> selectMessageList(@Param("userId") String userId);

    public List<TtMessage> selectMessage(@Param("id") String id);

    /**
     * 根据openId查询身份信息
     */
    public Map<String, Object> findByUserInfo(@Param("openId") String openId);
}
